package ygw.study.designPatterns.bridge;

/**
 * <p>
 * 使用 DrawAPI 接口创建抽象类 Shape
 * </p>
 * <p>
 * Copyright:2021.All rights reserved.
 * </p>
 * <p>
 * Company:Zsoft
 * </p>
 * <p>
 * CreateDate:2021-05-22 21:41
 * </p>
 *
 * @author YuGongWen
 * @history Mender:YuGongWen；Date:2021-05-22 21:41；
 */
public abstract class Shape {
    
    protected DrawAPI drawAPI;

    protected Shape(DrawAPI drawAPI) {
        this.drawAPI = drawAPI;
    }

    public abstract void draw();
}